/***********************************************************************
 * Module:  Form.java
 * Author:  gdut5276
 * Purpose: Defines the Class Form
 ***********************************************************************/

package com.lfywork.bingo.web.ui;

import java.util.*;
import javax.servlet.jsp.tagext.TagSupport;

/** @pdOid 1cc4f1a3-53aa-49e8-8406-d14b7e35c272 */
public class Form extends TagSupport {
   /** @pdOid f4e95c0f-505d-4b25-9e5b-1ae6e24d7ee7 */
   private String id;
   /** @pdOid 76d944ff-4a87-47e3-956d-0710fb285cb9 */
   private String width;
   /** @pdOid f200ee20-79bf-4e8c-91e7-a547e62f5e98 */
   private String height;
   /** @pdOid 666fec68-7b9f-4376-9621-394cac55422e */
   private List<Line> lists;
   /** @pdOid 55a38a65-608c-423f-beba-a1aa955ba402 */
   private ToolBar toolbar;
   /** @pdOid 3c42d31f-9cb6-46b1-8f22-0057868cbaf7 */
   private String templateName = form.ftl;
   
   /** @exception javax.servlet.jsp.JspException
    * @pdOid 03ad6f12-570a-46fc-9fcd-9ff95492de8b */
   public int doStartTag() throws javax.servlet.jsp.JspException {
      // TODO: implement
      return 0;
   }
   
   /** @exception javax.servlet.jsp.JspException
    * @pdOid 7ad44cae-c75a-4373-894d-78f7e9e7a843 */
   public int doEndTag() throws javax.servlet.jsp.JspException {
      // TODO: implement
      return 0;
   }
   
   /** @pdOid d4752a91-2b6c-4fd3-9fdb-22961a42f2e0 */
   public void executeFreemarker() {
      // TODO: implement
   }
   
   /** @pdOid 7634d1e5-b3cc-4ae8-a7f5-d465d429b752 */
   public void reset() {
      // TODO: implement
   }
   
   /** @pdOid 49ab6919-350a-4e9c-8a5a-afa910360109 */
   public String getId() {
      return id;
   }
   
   /** @param newId
    * @pdOid 24d692fe-4aba-477f-986b-848f0d141567 */
   public void setId(String newId) {
      id = newId;
   }
   
   /** @pdOid 3a0d7fa6-9df2-4870-94ec-0e8f984baede */
   public String getWidth() {
      return width;
   }
   
   /** @param newWidth
    * @pdOid a87a60fc-4736-48f8-ae56-8ac872075633 */
   public void setWidth(String newWidth) {
      width = newWidth;
   }
   
   /** @pdOid f3273b39-8412-4474-8b78-4a0a6fb1a6c3 */
   public String getHeight() {
      return height;
   }
   
   /** @param newHeight
    * @pdOid d25976fa-3b3d-46cb-b4e9-937790e1cbf0 */
   public void setHeight(String newHeight) {
      height = newHeight;
   }
   
   
   /** @pdGenerated default getter */
   public java.util.Collection<Line> getLine() {
      if (line == null)
         line = new java.util.HashSet<Line>();
      return line;
   }
   
   /** @pdGenerated default iterator getter */
   public java.util.Iterator getIteratorLine() {
      if (line == null)
         line = new java.util.HashSet<Line>();
      return line.iterator();
   }
   
   /** @pdGenerated default setter
     * @param newLine */
   public void setLine(java.util.Collection<Line> newLine) {
      removeAllLine();
      for (java.util.Iterator iter = newLine.iterator(); iter.hasNext();)
         addLine((Line)iter.next());
   }
   
   /** @pdGenerated default add
     * @param newLine */
   public void addLine(Line newLine) {
      if (newLine == null)
         return;
      if (this.line == null)
         this.line = new java.util.HashSet<Line>();
      if (!this.line.contains(newLine))
         this.line.add(newLine);
   }
   
   /** @pdGenerated default remove
     * @param oldLine */
   public void removeLine(Line oldLine) {
      if (oldLine == null)
         return;
      if (this.line != null)
         if (this.line.contains(oldLine))
            this.line.remove(oldLine);
   }
   
   /** @pdGenerated default removeAll */
   public void removeAllLine() {
      if (line != null)
         line.clear();
   }

}